<template>
  <div>
    <h2>SlotView</h2>
    <MySlot>
        <!-- <h3>我是一个插槽HTML信息</h3> -->
        <!-- <h3 slot="info">我是一个有名字的HTML信息</h3>  具名插槽 -->
        <div slot-scope="props">
            <h3>我是作用域插槽 - {{ props.msg }}</h3>
        </div>
    </MySlot>
  </div>
</template>

<script>
import MySlot from '../components/MySlot.vue'
export default {
    components: {
        MySlot
    }
}
</script>

<style>

</style>